<?php

namespace App\Validators\Mysql;

class UsersValidator extends \GordenSong\Support\TableValidator
{
    protected $connection = 'mysql';
    protected $table = 'users';

    public function customizeRules(): array
    {
        return [
            'id' => ['required'],
            'name' => ['required'],
            'email' => ['required'],
            'email_verified_at' => [],
            'password' => ['required'],
            'remember_token' => [],
            'created_at' => [],
            'updated_at' => [],
        ];
    }

    public function excludeRules(): array
    {
        return [
            'created_at',
            'updated_at',
        ];
    }

    protected $messages = [

    ];

    protected $attributes = [

    ];

    protected $scenes = [

    ];
}
